import request from '../utils/request';
// import Mock from '../mock/Mock'
export const getmenulist = (query:any)=>request({
    url:'/api/get/list',
    method: 'GET',
    data:query
})
// 登录login
export const Apilogin =(params:any)=>request({
    url:'/api/users/login',
    method: 'POST',
    data:params
})

// 获取学生信息列表
export const studentList = (query:any)=>request({
    url:'/api/student/list',
    method: 'GET',
    params:query
})

// 新增接口
export const studentAdd = (data:any)=>request({
   url:'/api/student',
   method: 'POST',
   data:data
})

// 获取智能检测学生信息表
export const getStudentStatsDistriLeftBottom = (params:any)=>request({
    url:'/api/intelligentDetection/dataitem',
    method: 'GET',
    params:params
})

// 获取安防管理学生信息表
export const getStudentStatsDi = (params:any)=>request({
   url:'/api/intelligentDetection/datapp',
   method:'GET',
   params:params
})
// export const ApioneList = (query:any)=>request({
//     url:'/api/mock/list',
//     method: 'GET',
//     data:query
// })


